package yq.test.demo.Admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yq.test.demo.Admin.domain.Admin;
import yq.test.demo.Admin.mapper.AdminMapper;
import yq.test.demo.Admin.service.AdminService;
import yq.test.demo.User.mapper.UserMapper;


@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin login(String username, String password) {
    return adminMapper.login(username, password);
    }
}
